package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购入成本管理对象 purchase_info
 * 
 * @author fxk
 * @date 2023-06-21
 */
public class PurchaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购入批次 */
    @Excel(name = "购入批次")
    private Long purchaseId;

    /** 饲料购入花费 */
    @Excel(name = "饲料购入花费")
    private BigDecimal feedCost;

    /** 鱼苗购入花费 */
    @Excel(name = "鱼苗购入花费")
    private BigDecimal fishCost;

    /** 设备购入花费 */
    @Excel(name = "设备购入花费")
    private BigDecimal deviceCost;

    public void setPurchaseId(Long purchaseId) 
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId() 
    {
        return purchaseId;
    }
    public void setFeedCost(BigDecimal feedCost) 
    {
        this.feedCost = feedCost;
    }

    public BigDecimal getFeedCost() 
    {
        return feedCost;
    }
    public void setFishCost(BigDecimal fishCost) 
    {
        this.fishCost = fishCost;
    }

    public BigDecimal getFishCost() 
    {
        return fishCost;
    }
    public void setDeviceCost(BigDecimal deviceCost) 
    {
        this.deviceCost = deviceCost;
    }

    public BigDecimal getDeviceCost() 
    {
        return deviceCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purchaseId", getPurchaseId())
            .append("feedCost", getFeedCost())
            .append("fishCost", getFishCost())
            .append("deviceCost", getDeviceCost())
            .toString();
    }
}
